﻿<UserControl x:Class="Remember.WPF.Views.BookListControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="500" d:DesignWidth="800" Width="800" Height="500">
    <Border CornerRadius="10" Background="WhiteSmoke">
    <Grid Margin="20">
            <Border BorderThickness="1" CornerRadius="10" Margin="0,80,0,80" Background="White">
                <ScrollViewer HorizontalAlignment="Stretch" Margin="10" Name="scrollViewer1" VerticalAlignment="Stretch" CanContentScroll="True">
                    <StackPanel HorizontalAlignment="Stretch" Name="uiListPanel" VerticalAlignment="Stretch" CanVerticallyScroll="True" />
                </ScrollViewer>
                
            </Border>
            <Button Content="Start" FontSize="32"  Height="58" HorizontalAlignment="Center" Name="btnStart" 
                    Template="{DynamicResource ButtonControlTemplateStartBig}" Cursor="Hand" 
                    VerticalAlignment="Bottom" Width="180" Click="btnStart_Click" >
            </Button>

            <ComboBox Height="32" HorizontalAlignment="Center" ItemsSource="{Binding}" Margin="619,0,11,26" Name="listFlow" SelectedIndex="0" Text="S=QADP" VerticalAlignment="Bottom" Width="128" Padding="10,0,0,0" FontSize="18" SelectionChanged="listFlow_SelectionChanged" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" LostFocus="listFlow_LostFocus" />
            <Label Content="Label" Height="32" HorizontalAlignment="Left" Margin="32,6,0,0" Name="uiLoginName" VerticalAlignment="Top" Width="320" FontSize="20" FontWeight="Bold" />
            <Button Template="{DynamicResource ButtonControlTemplateUser}" Content="Switch user" Cursor="Hand" Height="24" HorizontalAlignment="Left" Margin="36,42,0,0" Name="btnSwitchUser" VerticalAlignment="Top" Width="100" Click="btnSwitchUser_Click" >
            </Button>
            <TextBlock Height="32" HorizontalAlignment="Center" Name="textBlock1" Text="With Mode" VerticalAlignment="Bottom" Width="111" Margin="489,0,158,26" FontSize="20" Foreground="Gray" />
            <Button Content="Create a book" FontSize="20" FontWeight="Normal" Height="42" HorizontalAlignment="Center" Margin="36,0,564,24" Name="btnCreateabook" VerticalAlignment="Bottom" Width="158" Click="btnCreateabook_Click" />
            <CheckBox Content="Show All books" Height="16" HorizontalAlignment="Left" Margin="427,50,0,0" Name="uiShowAllBooks" VerticalAlignment="Top" Width="135" Click="uiShowAllBooks_Click" IsChecked="True" />
        </Grid>
    </Border>
</UserControl>
